package cn.woniu.ecommerceplatform.service;

import cn.woniu.ecommerceplatform.entity.Orders;
import cn.woniu.ecommerceplatform.util.ResponseResult;

import java.util.Date;
import java.util.List;

public interface OrdersService {
    ResponseResult<?> orderList(String goodName,String orderNum,Integer orderState,String account,Integer pageNo,Integer pageSize);

    ResponseResult<?> orderAdd(Orders orders);

    ResponseResult<?> orderByGoodAdd(Integer id,Integer num,String account);

    ResponseResult<?> orderDelete(Orders orders);

    ResponseResult<?> batchDelete(List<Integer> ids,String account);

    ResponseResult<?> orderUpdate(Orders orders);

    ResponseResult<?> orderDetails(Integer orderId);

    ResponseResult<?> orderDetailsAdd(Orders orders);

    ResponseResult<?> orderUpdateOrderState(Orders orders);

    ResponseResult<?> orderUpdateComments(Orders orders);
}
